import request from '../http.js'

// 月卡续费
export const parkInsideContPay = data => {
	return request({
			url: `/alipay/pay/parkInsideContPay`,
			method: 'POST',
			data
	})
}

// 月卡续费
export const parkInsidePay = data => {
	return request({
			url: `/alipay/pay/parkInsidePay`,
			method: 'POST',
			data
	})
}

// 够买月卡数据
export const staticRuleList = data => {
	return request({
			url: `/park/staticRule/buyOnline/list`,
			method: 'GET',
			data
	})
}

// 对应停车场月卡数据
export const parkStaticRuleList = parkId => {
	return request({
			url: `/parkStaticRule/buyOnline/list/${parkId}`,
			method: 'GET',
	})
}

// 我的月卡列表
export const parkInsideList = data => {
	return request({
			url: `/parkInside/list`,
			method: 'GET',
			data
	})
}